import { Module } from '@nestjs/common';
import { CompanyService } from './company.service';
import { CompanyController } from './company.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { CompanyEntity } from './entities/company.entity';
import { RecordCompanyEntity } from 'src/record_company/entities/record_company.entity';

@Module({
  controllers: [CompanyController],
  providers: [CompanyService],
  imports: [
    TypeOrmModule.forFeature([CompanyEntity]),
    TypeOrmModule.forFeature([RecordCompanyEntity]),
  ],
})
export class CompanyModule {}
